package Operatori;
import Arbori.Nod;


public abstract class Operator extends Nod{
	
	public double calcul(){
		if(fStang!=null || fDrept!=null)
			System.exit(1);
		return calcul();
	}
	
	public String toString(){
		return concatTermeni(fStang.toString(),fDrept.toString());
	}
	
	public abstract double calcul(double aux1,double aux2);
	public abstract String concatTermeni(String aux1,String aux2);

}
